package com.bsoft.hospitalchs.model;

/**
 * Created by 泅渡者
 * Created on 2017/5/25.
 */

public class SearchBean {

    /**
     * serviceId : phis.mobileService
     * serviceAction : getMemberInfo
     * method : execute
     * body : {"CardNo":"10001"}
     */

    private String serviceId;
    private String serviceAction;
    private String method;
    private BodyBean body;

    public SearchBean(String serviceId, String serviceAction, String method, BodyBean body) {
        this.serviceId = serviceId;
        this.serviceAction = serviceAction;
        this.method = method;
        this.body = body;
    }

    public SearchBean() {
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public String getServiceAction() {
        return serviceAction;
    }

    public void setServiceAction(String serviceAction) {
        this.serviceAction = serviceAction;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public BodyBean getBody() {
        return body;
    }

    public void setBody(BodyBean body) {
        this.body = body;
    }

    public static class BodyBean {
        /**
         * CardNo : 10001
         */

        private String CardNo;

        public BodyBean(String cardNo) {
            CardNo = cardNo;
        }

        public BodyBean() {
        }

        public String getCardNo() {
            return CardNo;
        }

        public void setCardNo(String CardNo) {
            this.CardNo = CardNo;
        }
    }
}
